namespace MvvmBase.ViewModel
{
    public class ModelJobEntry
    {
        private readonly ModelJob _jobWithParameter;
        public ModelJobEntry(ModelJob jobWithParameter, ModeJobMode jobMode)
        {
            _jobWithParameter = jobWithParameter;
            JobMode = jobMode;
        }

        public ModeJobMode JobMode { get; private set; }
        public void Cancel()
        {
            _jobWithParameter.Cancel();
        }
    }
}